Re: Bug #632: can't compile 3.0.2a with 2.0.1 as described in the FAQ
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Bug #632: can't compile 3.0.2a with 2.0.1 as described in the FAQ | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-4@lists.php.net to get a copy of this message | ||
> gcc -c -I./os/unix -I./include -DLINUX=2 -DUSE_HSREGEX buildmark.c
> gcc -DLINUX=2 -DUSE_HSREGEX \
> -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/extra/libextra.a
> main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -lm
> modules/extra/libextra.a(mod_php.o): In function `send_parsed_php':
> mod_php.o(.text+0x1c1): undefined reference to `apache_php_module_main'
> make: *** [target_static] Error 1
You forgot to add -lphp to the Apache LIBS line.
-Rasmus